<script src="/login/status"></script>
<script>
    if(!isLogin) location.href = "/admin/login.html"
</script>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>评论</title>
    <link rel="stylesheet" href="../assets/vendors/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="../assets/css/common.css">
    <link rel="stylesheet" href="../assets/css/admin.css">
     <link rel="stylesheet" href="../assets/vendors/aliFont/iconfont.css">
    <link rel="stylesheet" href="../assets/vendors/nprogress/nprogress.css">
    <script src="../assets/vendors/Jquery/jquery-1.11.0.min.js"></script>
    <script src="../assets/vendors/bootstrap/js/bootstrap.min.js"></script>
    <script src="../assets/vendors/nprogress/nprogress.js"></script>
</head>
<body>
    <script>NProgress.start()</script>
    <div class="indexBox clearfix">
        <div class="slide">
            <div class="slide-head">
                <div class="avatar">
                    <img src="../uploads/avatar.jpg" alt="">
                </div>
                <span class="user">Coder</span>
            </div>
            <div class="nav">
                <ul class="navItems">
                    <li class="navActive">
                        <a href="./index.html">
                             <span class=" iconfont icon-yibiaopan"></span>仪表盘
                        </a>
                    </li>
                    <li>
                        <div class="nav-item">
                            <a><span class=" iconfont icon-wenzhang"></span>文章<span class=" iconfont icon-arrow-right arrow"></span></a>
                        </div>
                        <ul class="itemgroup" >
                            <li><a href="articleAll.html">所有文章</a></li>
                            <li><a href="addArticle.html">写文章</a></li>
                            <li><a href="cateArticle.html">分类目录</a></li>
                        </ul>
                    </li>
                    <li><a href="./comments.html"><span class=" iconfont icon-chat"></span>评论</a></li>
                    <li><a href="./user.html"><span class=" iconfont icon-yonghu"></span>用户</a></li>
                    <li>
                        <div class="nav-item">
                           <a> <span class=" iconfont icon-shezhi"></span>设置<span class="iconfont icon-arrow-right arrow"></span></a>
                        </div>
                        <ul class="itemgroup">
                            <li><a href="slides.html">图片轮播</a></li>
                            <li><a href="settings.html">网站设置</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
        <div class="main">
            <div class="content-head">
                <div class="content-icon">
                    <div class="content-left">
                        <span class="iconfont icon-shouqianniuicon"></span>
                    </div>
                </div>
                <div class="modify">
                    <a href="passwordReset.html">
                      <span class="iconfont icon-yonghu1"></span>修改密码
                    </a>
                </div>
                <div class="loginOut">
                    <span class="iconfont icon-tuichu_huaban1"></span><span>退出</span>
                </div>
            </div>
           <div class="content">
               <p>所有评论</p>
               <div class="pageContent clearfix">
                   <div class="pages fr clearfix">
                   <span class="fl">上一页</span>
                   <ul class="fl">
                       <li>1</li>
                       <li>2</li>
                       <li>3</li>
                   </ul>
                   <span class="fl">下一页</span>
               </div>
               </div>
               <table border class="commentTable" width="100%">
                   <thead>
                       <tr>
                           <th width ="15%">作者</th>
                           <th width ="20%">评论</th>
                           <th width ="20%">评论在</th>
                           <th width ="20%">提交于</th>
                           <th width ="15%">状态</th>
                           <th width ="10%">操作</th>
                       </tr>
                   </thead>
                   <tbody>
                      
                     
                   </tbody>
               </table>
           </div>
           
        </div>
    </div>
    <script>NProgress.done()</script>
    <script src="../assets/js/common.js"></script>
    <script type='text/html' id="commentTpl">
        {{each data}}
        <tr>
            <td>大大</td>
            <td>楼主好人顶一个</td>
            <td>《Hello world》</td>
            <td>2026/10/07</td>
            <td>未批准</td>
            <td>
                <button type="button" class="btn btn-info btn-xs">批准</button>
                <button type="button" class="btn btn-danger btn-xs">删除</button>
            </td>
        </tr>
        {{/each}}
    </script>
    <script src="../assets/js/comments.js"></script>
</body>
</html>